


clear classes

Exp = simplified_PTB();
Exp.scn.res = 3;
Exp.scn.w = 1600;
Exp.scn.h = 1200;
Exp.stimuli = inline('cos(x) + 0.05*cos(x*25.2) + 0.03*cos(x*30.5)  + 0.02*cos(x*35.2) + 0.01*cos(x*40.2)','x');
%Exp.stimuli = inline('cos(x*(1/(1.1*cos(x*3.2))))','x');

% Speeds
speed0 = 270;
speed1 = 300;
% The funcion is 
f = inline('-(a*b)/(b-2*a)','a','b');

speed2 = f(speed0,speed1);
speed3 = f(speed1,speed2);

Exp.FpClearn = [speed0,speed1,speed2,speed3];
Exp.pauses = 8;
Exp.num_trials = 8;
Exp.num_blocks = 6;
self.stim.size = 25;

% Changes the amplitude of the movement from 0.9 Screens to 0.8 screens

Exp.prepareTrialTypes()
Exp.prepareFixation()
%Exp.prepareOccluder();
Exp.prepareOccluder(250,125);
Exp.prepareSpeeds()
Exp.prepareJump()
Exp.prepareFixation()

Exp.Eyelink = 1;

Exp.runScreen()
%Exp.plotTrial(1);
